<?php
class Zend_Controller_Action_Helper_Log extends Zend_Controller_Action_Helper_Abstract{
	
	public function logAlipay($word){
		
    	$fp = fopen(MY_ROOT."/php_config/log.txt","a");
    	
		flock($fp, LOCK_EX) ;
		
		fwrite($fp,$word."：执行日期：".strftime("%Y%m%d%H%I%S",time())."\t\n");
		
		flock($fp, LOCK_UN); 
		
		fclose($fp);
    	
	}
	
	
}
